package com.ctg.payroll2.service.cusadmin.impl;

import java.util.Map;

import com.ctg.payroll2.bean.po.PbCompanyLinkman;
import com.ctg.payroll2.dao.cusadmin.PbCompanyLinkManDAO;
import com.ctg.payroll2.service.cusadmin.PbCompanyLinkManService;
import com.ctg.platform.util.Page;

public class PbCompanyLinkManServiceImpl implements PbCompanyLinkManService {
	PbCompanyLinkManDAO companyLinkManDAO;

	public PbCompanyLinkManDAO getCompanyLinkManDAO() {
		return companyLinkManDAO;
	}

	public void setCompanyLinkManDAO(PbCompanyLinkManDAO companyLinkManDAO) {
		this.companyLinkManDAO = companyLinkManDAO;
	}

	public void insert(Object object) {
		companyLinkManDAO.insert((PbCompanyLinkman) object);
	}

	public Page getLinkMan(Object paraMap, Integer start, Integer limit) {
		return companyLinkManDAO.pagedQuery((Map<String, Object>) paraMap,
				start, limit) != null ? companyLinkManDAO.pagedQuery(
				(Map<String, Object>) paraMap, start, limit) : new Page();
	}

}
